Check the hypercall number in the privcmd hypercall ioctl.
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Thu, 9 Feb 2006 23:16:53 +0000 (00:16 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Thu, 9 Feb 2006 23:16:53 +0000 (00:16 +0100)
commit30ed8dac34a5a8e097484fa581afa9eb12b2429f
treeeb3b4525fc23f3b224323529652087db212cc65d
parentf1e6a1060ad3f381d7c678b1d346afb1b183ba07
Check the hypercall number in the privcmd hypercall ioctl.
We check it is a member of a small set of permitted hypercalls.
Fix libxenstat to not use multicalls (not permitted, and not
need for efficiency in libxenstat).

Based on an original patch by Chris Wright.

Signed-off-by: Keir Fraser <keir@xensource.com>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
linux-2.6-xen-sparse/drivers/xen/privcmd/privcmd.c
tools/xenstat/libxenstat/src/xen-interface.c